#include <iostream>
#include <vector>
using namespace std;

class Solution
{
public:
    int countHousePlacements(int n)
    {
        long mod = 1000'000'007;
        vector<long> dp(n + 1, 0);
        dp[0] = 1;
        dp[1] = 2;
        for (int i = 2; i < n + 1; i++)
        {
            dp[i] = (dp[i - 1] + dp[i - 2]) % mod;
        }
        return (dp[n] * dp[n]) % mod;
    }
};
int main()
{
    cout << "Code2320" << endl;
    Solution s;
    cout << s.countHousePlacements(2) << endl;
    return 0;
}